package org.csc.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCircuitBreaker //打开Hystrix断路器
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class AdminAppplication {

    private static final Logger log = LoggerFactory.getLogger(AdminAppplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AdminAppplication.class, args);
        log.info("【admin项目启动成功......】");
    }

}
